<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<style>
		body{
			height:100%;
			font-size:12px;
			background-repeat: no-repeat;
		}
		div {
			font-family: inherit;
			font-size: 12px;
		}
	</style>
  </head>
  
  <body>   
  	<table  align="center">
  		<tr >
  			<td>
  					<div style="border: 1px #CCC dashed;">  		
				   		<form action="userLogin.action" method="post">
				   			会员
						  <div align="center" style="height:400px;width: 300px;">
						  		<span style="color:red;">  
								   	<%if(request.getAttribute("errorInfo") != null && !request.getAttribute("errorInfo").equals("")){%>
								   		提示：${errorInfo}
								   	<%}%>
						   		</span>
						   		用户名：<input type="text" name="users.username" value="" size="12"/><br/><br/>
						   		密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" name="users.password" value=""  size="12"/><br/><br/>
						   		<input type="submit" value="登录"/>
						   		<input type="reset"  value="取消"/> 
						  </div> 
					   </form>   
				  	</div>
  			</td>
  			<td width="150px">
  			</td>
  			<td>
  					<div style="border: 1px #CCC dashed;">  		
				   		<form action="companyLogin.action" method="post">
				   			商家
						  <div align="center" style="height:400px;width: 300px;">
						  		<span style="color:red;">  
								   	<%if(request.getAttribute("errorInfo") != null && !request.getAttribute("errorInfo").equals("")){%>
								   		提示：${errorInfo}
								   	<%}%>
						   		</span>
						   		用户名：<input type="text" name="company.username" value="" size="12"/><br/><br/>
						   		密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" name="company.password" value=""  size="12"/><br/><br/>
						   		<input type="submit" value="登录"/>
						   		<input type="reset"  value="取消"/> 
						  </div> 
					   </form>   
				  	</div>
  			</td>
  		</tr>
  	</table> 
    
  </body>
</html>
